Re-factor definition of some macros on ARM platforms
authorVikram Kanigiri <[email protected]>
Thu, 21 Jan 2016 14:08:15 +0000 (14:08 +0000)
committerVikram Kanigiri <[email protected]>
Thu, 11 Feb 2016 17:04:02 +0000 (17:04 +0000)
commitecf70f7bdbf79bd2923ec5b14b933ba4c8e3ee59
treedab66c434fad37aced02b1dbbbf459ac9d8887a8
parent85320724af73d0015d2cb0e99d59c292290b6ce5
Re-factor definition of some macros on ARM platforms

This patch moves the definition of some macros used only on
ARM platforms from common headers to platform specific headers.
It also forces all ARM standard platforms to have distinct
definitions (even if they are usually the same).
 1. `PLAT_ARM_TZC_BASE` and `PLAT_ARM_NSTIMER_FRAME_ID` have been
     moved from `css_def.h` to `platform_def.h`.
 2. `MHU_BASE` used in CSS platforms is moved from common css_def.h
    to platform specific header `platform_def.h` on Juno and
    renamed as `PLAT_ARM_MHU_BASE`.
 3. To cater for different sizes of BL images, new macros like
    `PLAT_ARM_MAX_BL31_SIZE` have been created for each BL image. All
    ARM platforms need to define them for each image.

Change-Id: I9255448bddfad734b387922aa9e68d2117338c3f
include/plat/arm/common/arm_def.h
include/plat/arm/css/common/css_def.h
plat/arm/board/fvp/include/platform_def.h
plat/arm/board/juno/include/platform_def.h
plat/arm/css/common/css_mhu.c